import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/vant.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/icon.css';
import { Search } from 'vant';
import { Notify } from 'vant';
import VueAMap from 'vue-amap';
Vue.use(VueAMap);

// 全局注册
Vue.use(Notify);

Vue.use(Search);
VueAMap.initAMapApiLoader({
  key: 'fe36672df452de07cd920ed2a42bc9af',
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
  v: '1.4.4'
});


import 'vant/lib/index.css';
import axios from "axios"
Vue.prototype.$axios = axios

Vue.use(ElementUI);
Vue.config.productionTip = false
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
